﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using Newtonsoft.Json;
using FreeSql.DataAnnotations;

namespace VueShopApi.Entities 
{
	/// <summary>
	/// 快递表
	/// </summary>
	[JsonObject(MemberSerialization.OptIn), Table(Name = "sp_express", DisableSyncStructure = true)]
	public partial class SpExpress 
	{
		/// <summary>
		/// 主键id
		/// </summary>
		[JsonProperty("express_id"), Column(Name = "express_id", IsPrimary = true, IsIdentity = true)]
		public int ExpressId { get; set; }

		/// <summary>
		/// 记录生成时间
		/// </summary>
		[JsonProperty("create_time"), Column(Name = "create_time")]
		public int CreateTime { get; set; }

		/// <summary>
		/// 订单快递公司名称
		/// </summary>
		[JsonProperty("express_com"), Column(Name = "express_com", StringLength = 32)]
		public string ExpressCom { get; set; }

		/// <summary>
		/// 快递单编号
		/// </summary>
		[JsonProperty("express_nu"), Column(Name = "express_nu", StringLength = 32)]
		public string ExpressNu { get; set; }

		/// <summary>
		/// 订单id
		/// </summary>
		[JsonProperty("order_id"), Column(Name = "order_id")]
		public int OrderId { get; set; }

		/// <summary>
		/// 记录修改时间
		/// </summary>
		[JsonProperty("update_time"), Column(Name = "update_time")]
		public int UpdateTime { get; set; }

	}

}
